by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

Laravel 5.6 is scheduled to be released in February 2018, what changes? Let's see.

1. In Laravel 5.6, Argon2i password hashing algorithm will be supported. (Argon2i Password Hashing Algorithm)
Argon2 is available in three versions:
1. Argon2d resists GPU cracking attacks to the greatest extent.
2. Argon2i is optimized to resist side-channel attacks.
3. Argon2id is a hybrid version, the above two versions are mixed.

It doesn't matter if you don't understand it, I don't understand it anyway, the point is, it's safe to be sure anyway.
This is in the Open Cryptography Competition (PHC), designed by Alex Biryukov, Daniel Dinu and Dmitry Khovratovich on July 20, 2015, and finally selected as the PCH winner. The goal of the Open Cryptography Competition (PHC) is Select more cryptographic hash functions that can be recognized as standard.

The old bcrypt will continue to be supported and will remain as the default. After the official release of Laravel 5.6,
If you're using a new project it's worth considering switching to Argon2i.

Second, there are new Blade Directives in Laravel 5.6.
5.5 hours
{{ csrf_field() }} {{ method_field('PUT') }}
After 5.6, you can use the directives as follows, which is even simpler.
@method('put') @csrf
3. Laravel 5.6 will remove the artisan optimzie command.
You may have noticed that in 5.5, after entering php artisan, you will see that the command has been listed as deprecated
Help:
Optimize the framework for better performance ( deprecated )

Since PHP 7 implements PHP op-code caching, this command is no longer needed.

As an aside, the current fpm image used by D-Laravel has also compiled opcache.so, and it can be used after adding it to php.ini.
If you want to use Xdebug and OPCache together, you must load Xdebug after OPCache.

For example: below.
extension=opcache.so
extension=xdebug.so

In addition, the latest php version 7.2.1 image does not support xdebug, so you cannot use the xdebug.so extension function in php version 7.2.1.

Tags: laravel

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


laravel,blade

Laravel 5.5 make:model's -a parameter and Blade version chunk function introduction

Do you not know what the make:model -a parameter is? This video will briefly introduce the actual operation process. And use the chunk function in the Blade set to end.

laravel example, laravel teaching, livewire example, laravel

How to set cultural error messages in Laravel Livewire components

This article uses a simple Laravel livewire example to see how the livewire component verifies user input errors and displays Chinese error messages.

docker,dlaravel

D-Laravel 1.5.5 Change Notes

D-Laravel's fpm image was rebuilt using the official dockerfile of docker php before php 7.2.1. And so I can specify that the default owner of fpm is dlaravel, --with-fpm-user=USER Set the user for php-fpm to run as. (default: nobody) --with-fpm-group=GRP Set the group for php-fpm to run as.